package net.mingsoft.statistic.biz;


import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import net.mingsoft.cms.entity.ContentEntity;
import net.mingsoft.statistic.action.q.PubReportQuery;
import net.mingsoft.statistic.action.q.SummaryQuery;
import net.mingsoft.statistic.action.r.SummaryResponse;

/**
 * @author gengfa
 * @date 22/02/14
 */
public interface SummaryBiz {

    SummaryResponse summary(SummaryQuery summaryQuery);

    long incrCount(SummaryQuery summaryQuery);

    long incrCountAvg(SummaryQuery summaryQuery);

    long pubCount(SummaryQuery summaryQuery);

    long pubCountAvg(SummaryQuery summaryQuery);

    Page<ContentEntity> getPubList(PubReportQuery summaryQuery);
}
